<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
<style>
	.flex { display: -webkit-flex; display: flex; display: -ms-flexbox; }
	.tab-control .tab-items > * { cursor: pointer; }
	.tab-items > div {min-width: 150px; text-align: center; line-height: 2.0em; font-weight: bold;font-size: 15px;color: #444;}
	.tab-items > div.active { background: #eee; border-bottom-color: green; }
	a{text-decoration: none;}
	.currMenu {background: #eee; border-bottom: 3px solid green; border-bottom-color: green; }
	
}
</style>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/res/css/simple.css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/res/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/res/jquery.form.js" ></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/res/constant.js" ></script>
</head>
<body>
<div class="tab-control" style="border-bottom: 2px solid green;" >
	<div class="tab-items flex">
		<div <%=request.getParameter("m").equals("cbill")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/cbill/list.do'" >客户账单</div>
		<div <%=request.getParameter("m").equals("countcbill")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/cbill/countlist.do'" >客户账单汇总</div>
		<div <%=request.getParameter("m").equals("sbill")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/sbill/list.do'" >供货商账单</div>
		<div <%=request.getParameter("m").equals("employee")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/employee/list.do'" >员工管理</div>
		<div <%=request.getParameter("m").equals("customer")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/customer/list.do'" >客户管理</div>
		<div <%=request.getParameter("m").equals("supplier")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/supplier/list.do'">供货商管理</div>
		<div <%=request.getParameter("m").equals("dic")?"class='currMenu'":"" %> onclick="location.href='<%=request.getContextPath() %>/dic/list.do'">基础数据</div>
	</div>
</div>
<br/>
</body>
</html>
